package com.heima.media.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.common.dto.ResponseResult;
import com.heima.common.dto.User;
import com.heima.media.dto.MaterialDto;
import com.heima.media.entity.WmMaterial;

import java.util.List;

/**
 * <p>
 * 自媒体图文引用素材信息表 服务类
 * </p>
 *
 * @author SpaceTraveller
 * @since 2022-11-09
 */
public interface IWmMaterialService extends IService<WmMaterial> {

    WmMaterial uploadPic(String upload, User user, int i);

    ResponseResult<List<WmMaterial>> listMaterial(MaterialDto dto);
}
